package net.techwatch.guice.dao;

import java.util.Collection;
import java.util.Date;

import com.google.inject.ImplementedBy;

import net.techwatch.guice.domain.Person;

@ImplementedBy(PersonDaoImpl.class)
public interface PersonDao {

	Person findById(long id);
	
	Collection<Person> findByLastName(String lastName);
	
	Collection<Person> findByFirstName(String firstName);
	
	Collection<Person> getAll();
	
	Person create(String lastName, String firstName, Date birthDate);
}
